//
//  BVUserInstructionsViewController.m
//  BuyVegetables1
//
//  Created by zhuzi on 16/8/20.
//  Copyright © 2016年 YSC. All rights reserved.
//

#import "BVUserInstructionsViewController.h"

@interface BVUserInstructionsViewController ()<UITableViewDelegate,UITableViewDataSource>

@end

@implementation BVUserInstructionsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UITableView * tabel = [[UITableView alloc]init];
    tabel.frame = CGRectMake(0, 64, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height-64);
    
    tabel.delegate = self;
    tabel.dataSource = self;
    tabel.backgroundColor = [UIColor clearColor];
    
    [self.view addSubview:tabel];
    
    
    NSArray *_arry = [[NSArray alloc]initWithObjects:@"精菜网服务协议",@"退换货说明", nil];
    
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
    return 2;

}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{

    UITableViewCell * cell =[tableView dequeueReusableCellWithIdentifier:@"ident"];
    
    if (cell == nil) {
        
        cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"iden"];
        
        
        
    }
    
    
    cell.textLabel.text = @"123";
    
    cell.textLabel.textColor = [UIColor whiteColor];
    
    return cell;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
